<?php

declare (strict_types=1);

namespace app\common\enum\dealer\apply;

use app\common\enum\EnumBasics;

/**
 * 枚举类：分销商申请方式
 * Class ApplyType
 * @package app\common\enum\dealer\apply
 */
class ApplyType extends EnumBasics
{
    // 需后台审核
    const AUDIT = 10;

    // 无需审核
    const PASS = 20;

    /**
     * 获取枚举类型值
     * @return array
     */
    public static function data(): array
    {
        return [
            self::AUDIT => [
                'name' => '需后台审核',
                'value' => self::AUDIT,
            ],
            self::PASS => [
                'name' => '无需审核',
                'value' => self::PASS,
            ]
        ];
    }
}